<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-27 17:43:02
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-31 16:45:52
 * @FilePath: \mould\src\components\BehaViorManage\feedbackListText\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <!-- 小弹框 width:500,height:0.3,top:15%  -->
  <!-- 中弹框 width:800,height:0.5,top:10% -->
  <!-- 大弹框 width:1060,height:0.76,top:5% -->

  <div
    class="rawMaterial"
    id="tableInfoBox"
    style=" display: flex;
    flex-direction: column;!important"
  >
    <FormLyout @yj_saveForm="yj_saveForm" :isSave="btnShow">
      <template v-slot:formcon>
        <div
          class="dialogBody common commonClassDialog moduleDialog"
          :style="{ height: dialogHeight }"
          style="width: 100%"
        >
          <div class="baseTable">
            <publicForm1
              ref="publicForm"
              lableWidth="95px"
              :formObj="formObj"
              :formData="formData"
              @inputFocus="selectChange"
              @selectChange="selectChange"
              @clickDialog="clickDialog"
            >
            </publicForm1>
          </div>
          <div class="postionTable">
            <el-table :data="tableData" style="width: 100%">
              <el-table-column label="序号" type="index" width="50">
              </el-table-column>
              <el-table-column
                prop="testingItem"
                label="检测项目"
                align="center"
                width="150"
           
              >
              </el-table-column>
              <!-- <el-table-column  width="80" prop="designValue" label="设计值" align="center">
       
              </el-table-column>
              <el-table-column
                prop="allowableError"
                label="允许偏差"
                align="center"
                width="140"
              >
              </el-table-column> -->
              <el-table-column
                prop="qualified"
                label="实测值或合格率"
                align="center"
                width="120"
              >
                <template slot-scope="scope">
                  <div class="inputminute">
                    <el-input
                      :disabled="isEdit"
                      v-model="scope.row.qualified"
                    ></el-input>
                  </div>
                </template>
              </el-table-column>
              <el-table-column prop="result" width="120" label="结论" align="center">
                <template slot-scope="scope">
                  <div class="inputminute">
                    <!-- <el-input
                      :disabled="isEdit"
                      v-model="scope.row.result"
                     
                    ></el-input> -->

                    <el-select :disabled="isEdit" v-model="scope.row.result">
                      <el-option label="合格" value="合格"></el-option>
                      <el-option label="不合格" value="不合格"></el-option>
                    </el-select>
                  </div>
                </template>
              </el-table-column>
              <el-table-column
                prop="buildDates"
                label="施工时间"
                align="center"
              >
                <template slot-scope="scope">
                  <div class="inputminutes">
                   
                    <el-date-picker
                      :disabled="isEdit"
                      v-model="scope.row.buildDates"
                      type="date"
                    >
                    </el-date-picker>
                  </div>
                </template>
              </el-table-column>
              <el-table-column prop="testDates"   label="检测时间" align="center">
                <template slot-scope="scope">
                  <div class="inputminutes">
                    <el-date-picker
                      :disabled="isEdit"
                      v-model="scope.row.testDates"
                      type="date"
                      @input="$forceUpdate()"
                    >
                    </el-date-picker>
                    <!-- <el-input
                      :disabled="isEdit"
                      v-model="scope.row.testDates"
                    ></el-input> -->
                  </div>
                </template>
              </el-table-column>
              <el-table-column  prop="testName" label="检测人" align="center">
                <template slot-scope="scope">
                  <div class="inputminute">
                    <el-input
                      :disabled="isEdit"
                      v-model="scope.row.testName"
                    ></el-input>
                  </div>
                </template>
              </el-table-column>
              <el-table-column prop="note" label="备注" align="center">
                <template slot-scope="scope">
                  <div class="inputminute">
                    <el-input
                      :disabled="isEdit"
                      v-model="scope.row.note"
                    ></el-input>
                  </div>
                </template>
              </el-table-column>
            </el-table>
          </div>
          <div class="noteTable">
            <publicForm
              ref="publicForm1"
              lableWidth="95px"
              :formObj="additionalObj"
              :formData="formData"
              :selected="selected"
              @delteFile="delteFile($event, 0)"
              :timestamp="formData.files"
              :fileList="fFileurllist"
              @selectChange="selectChange"
            >
            </publicForm>
          </div>
        </div>
      </template>
    </FormLyout>

    <custom-dialog
      @refreshList="refreshList"
      :currentRow="materialRow"
      v-if="materialShow"
      :dialogVisible="materialShow"
      @close1="materialDialog"
      @getWBS="getWBS"
    ></custom-dialog>
  </div>
</template>

<script src="./index.js"></script>
<style lang="less" scoped>
@import "./index.less";
</style>
